/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PayCategoryEnum extends StringEnum
{
    public static final String ADVANCE_VALUE = "0";
    public static final String TOPAY_VALUE = "1";
    public static final String OTHEREXPENSES_VALUE = "3";

    public static final PayCategoryEnum advance = new PayCategoryEnum("advance", ADVANCE_VALUE);
    public static final PayCategoryEnum toPay = new PayCategoryEnum("toPay", TOPAY_VALUE);
    public static final PayCategoryEnum otherExpenses = new PayCategoryEnum("otherExpenses", OTHEREXPENSES_VALUE);

    /**
     * construct function
     * @param String payCategoryEnum
     */
    private PayCategoryEnum(String name, String payCategoryEnum)
    {
        super(name, payCategoryEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PayCategoryEnum getEnum(String payCategoryEnum)
    {
        return (PayCategoryEnum)getEnum(PayCategoryEnum.class, payCategoryEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PayCategoryEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PayCategoryEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PayCategoryEnum.class);
    }
}